{extend name="base2" /}
{block name="body"}
<div class="layui-body" style="width: 100%;left: 0;">
    <!--tab标签-->
    <div class="layui-tab layui-tab-brief">
        <ul class="layui-tab-title">
            <li class=""><a href="{:url('admin/kefu/csuserws')}">常用回复列表</a></li>
            <li class="layui-this">添加常用回复</li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <form class="layui-form form-container" action="{:url('admin/kefu/savewords')}" method="post">
                    <div class="layui-form-item">
                        <label class="layui-form-label">客服id</label>
                        <div class="layui-input-block">
                            <input type="text" name="cs_id" value="0" placeholder="默认是0,表示所有客服通用" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">内容</label>
                        <div class="layui-input-block">
                            <textarea name="content" placeholder="内容" class="layui-textarea"></textarea>
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">回复类型</label>
                        <div class="layui-input-block">
                            <input type="text" name="type" value=""  placeholder="请输入回复类型" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <button class="layui-btn" lay-submit lay-filter="*">保存</button>
                            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
{/block}